<?php
namespace components\template\tags;
class import {
    public function __call($fun,$arg){
        if(substr_count($fun, "get") == 1){
            $fun = explode("get", $fun);
            $func= $fun[1];
            $core_lib = FRM_PATH.'/components/template/tags/library.fun.php';
            $expend_lib = PRO_PATH.'/expand/tags/library.fun.php';
            if(is_file($core_lib)){
                require_once $core_lib;
            }
            if(is_file($expend_lib)){
                require_once $expend_lib;
            }
            $func();
        }
    }
}

?>
